/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f7f7f7;
    color: #333;
    background-image: url(Images/logo.png);
    background-repeat: no-repeat;
    background-size: cover;      /* Makes the background image cover the entire page */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Keeps the image fixed in place */

}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: center;
    background-color: #FF69B4; /* Pink color */
    padding: 10px 0;
    position: sticky; /* Sticks to the top when scrolling */
    top: 0;
    z-index: 1000;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.navbar a:hover {
    background-color: #FF1493; /* Darker pink on hover */
    transform: scale(1.1); /* Slight zoom effect */
}

.navbar a.active {
    border-bottom: 3px solid white; /* White underline for active link */
    font-weight: bold;
}



/* Page Title */
.page-title {
    font-size: 2em;
    color: #FF69B4; /* Pink color */
    margin-bottom: 20px;
}

/* Login Container */
.login-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.login-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 48%;
    min-width: 300px;
    margin-top: 20px;
    text-align: left;
    border: 4px solid red;
}

.login-box h2 {
    color: #FF69B4;
    font-size: 1.5em;
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9em;
}

input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

input[type="submit"] {
    background-color: #FF69B4;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #FF1493;
}

.message {
    font-size: 1.1em;
    color: green;
    margin-top: 15px;
}

/* Footer */
.footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #666;
}

.footer p {
    line-height: 1.5;
}

.footer a {
    color: #FF69B4;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        align-items: center;
    }
    .login-box {
        width: 100%;
    }
    .page-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.3em;
    }
    label, input, select {
        font-size: 0.9em;
    }
    input[type="submit"] {
        font-size: 0.9em;
    }
}

.img-responsive {
    width: 100%;
    height: auto;
    max-width: 160px;
    display: block;
    margin: 50px auto 20px auto; /* Adds more space above */
    margin-top: 200px;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto; /* Push it to the right */
    padding: 10px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #FF69B4; /* Same as navbar */
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid white;
}

.mobile-menu a:hover {
    background-color: #FF1493;
}

/* Show hamburger and hide desktop menu on smaller screens */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
    }

    .navbar a {
        display: none; /* Hide links in navbar */
    }

    .hamburger {
        display: flex; /* Show hamburger icon */
    }
}

/* Active Mobile Menu */
.mobile-menu.active {
    display: flex;
}

.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type="submit"]:hover {
    background-color: #FF004F; /* Brighter pink */
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0px 4px 8px rgba(255, 20, 147, 0.4);
}

body.dark-mode {
    background-color: #333;
    color: white;
}

.login-box.dark-mode {
    background-color: #444;
    color: white;
}

.navbar.dark-mode a {
    color: #ddd;
}